# -*- encoding: utf-8 -*-
"""
File Name: launch
Description:
Author: 'lirui'
date: 6/17/2025
Contact: marjey_lee@163.com
Change Activity:
Date: 6/17/2025:
"""

import asyncio

import ll
from projects.monitoring.internet_dedicated_line.utils.parse_data import load_data_info


async def _main():
    data = load_data_info()
    batches = ll.gen_batch_loop(data, batch_size=20)
    ll.log(f'Data size: {len(data)}.')
    for batch in batches:
        pass


if __name__ == '__main__':
    asyncio.run(_main())
